package com.planner.mrp.util;

import com.planner.mrp.pessoa.ContatoDAO;
import com.planner.mrp.pessoa.ContatoDAOHibernate;

public class DAOFactory {

	public static ContatoDAO criaContatoDAO() { 
		ContatoDAOHibernate contatoDAOHibernate = new ContatoDAOHibernate();
		contatoDAOHibernate.setSessao(HibernateUtil.getSession()
					.getCurrentSession());
		return contatoDAOHibernate;
	}
}
